package com.cmwa.solution.business.investTrade.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cmwa.solution.base.controller.BaseController;
import com.cmwa.solution.base.entity.SearchParam;

import net.sf.json.JSONArray;

/**
 * 投资报告控制器
 * @author ex-chenbq
 *
 */
@Controller(value = "investmentReport")
@RequestMapping("/business/investmentReport")
public class InvestmentReportController extends BaseController {

	private final static String JSP_PATH = "business/investTrade/";
		
	/**
	 * 跳转交易订单页面
	 * @param model
	 * @return
	 */
	@RequestMapping("/investReportView")
	public String investReportListView(ModelMap model) {
		return JSP_PATH + "investReport";
	}
	
	/**
	 * 交易订单数据分页查询
	 * @param param
	 * @return
	 */
	@RequestMapping("/investReportListPage")
	@ResponseBody
	public JSONArray investReportListPage(SearchParam param) {
		JSONArray jsonArray = new JSONArray();
		return jsonArray;
	}
}

